package com.hanhai.zrb.model.resourcematch;

import java.io.Serializable;

public class ResourceMatchContent implements Serializable{

	private static final long serialVersionUID = -2162380932844568332L;
	private Long bizid;
	// 1,2,3
	private Integer level;

	public Long getBizid() {
		return bizid;
	}

	public void setBizid(Long bizid) {
		this.bizid = bizid;
	}

	public Integer getLevel() {
		return level;
	}

	public void setLevel(Integer level) {
		this.level = level;
	}

	@Override
	public String toString() {
		return "MatchContent [bizid=" + bizid + ", level=" + level + "]";
	}

	@Override
	public int hashCode() {
		final int prime = 31;
		int result = 1;
		result = prime * result + ((bizid == null) ? 0 : bizid.hashCode());
		return result;
	}

	@Override
	public boolean equals(Object obj) {
		if (this == obj)
			return true;
		if (obj == null)
			return false;
		if (getClass() != obj.getClass())
			return false;
		ResourceMatchContent other = (ResourceMatchContent) obj;
		if (bizid == null) {
			if (other.bizid != null)
				return false;
		} else if (!bizid.equals(other.bizid))
			return false;
		return true;
	}

}